package com.hzlj.position.locate.common.dto.reportInspection;

import com.hzlj.common.message.common.dto.message.MessageNotifyDTO;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * @author lifh
 * @date 2023/7/21 14:36
 **/
@Data
@Accessors(chain = true)
public class ReportInspectionExtDTO {
    /**
     * 配置ID(report_setting)
     */
    private String settingId;
    /**
     * 创建者JgCode
     */
    private String creatorJgCode;
    /**
     * 创建者JgMc
     */
    private String creatorJgMc;

    /**
     * 关联的位置Id
     */
    private String positionId;
    private Date positionTime;
    /**
     * 消息回调ext
     */
    private MessageNotifyDTO.MessageNotifyExtDTO notice;

    public ReportInspectionExtDTO() {
    }

    //自动相关参数
    public ReportInspectionExtDTO(String settingId,
                                  String creatorJgCode,
                                  String creatorJgMc) {
        this.settingId = settingId;
        this.creatorJgCode = creatorJgCode;
        this.creatorJgMc = creatorJgMc;
    }

    //纠偏相关参数
    public ReportInspectionExtDTO(String positionId,
                                  Date positionTime) {
        this.positionId = positionId;
        this.positionTime = positionTime;
    }
}
